package com.fas.system.mapper;

import com.fas.system.domain.FasCooperationCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FasCooperationCompanyMapper {

    List<FasCooperationCompany> queryAll(FasCooperationCompany fasNetworkingCompany);

    int insertFasCooperationCompany(FasCooperationCompany fasNetworkingCompany);

    int updateFasCooperationCompany(FasCooperationCompany fasNetworkingCompany);

    int deleteFasCooperationCompany(@Param("ids") List<Integer> ids);

    int existsCompanyName(String companyName);

    int existsCompanyNameById(FasCooperationCompany fasNetworkingCompany);}
